export * from './auth';
export * from './message';
export * from './request';
export * from './helper';
export * from './validator';

import { date } from 'quasar';

// format date
export function formatDate(dt: string | number | Date | undefined, format = 'YYYY-MM-DD') {
  return date.formatDate(dt, format);
}

export function formatDateTime(dt: string | number | Date | undefined) {
  return date.formatDate(dt, 'YYYY-MM-DD HH:mm');
}
